package com.game;

import com.game.common.FSMTriggerId;

/**
 * no one is coming ,unless you change by yourself
 *
 * @author : pang-yun
 * @date : 2022/2/10
 * 条件类
 */

public abstract class FSMTrigger {
    //编号
    public FSMTriggerId fsmTriggerId;
    //逻辑处理
    public abstract boolean handleTrigger();

    //要求子类必须初始化条件，为编号赋值
    public abstract void init();

    public FSMTrigger() {
        init();
    }
}
